﻿<UserControl x:Class="CentroVentas.Forms.Login"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
             mc:Ignorable="d"
             Loaded="UserControl_Loaded">
    <extToolkit:BusyIndicator IsBusy="False"
                              Name="Busy"
                              BusyContent="Cargando...">
        <Grid x:Name="LayoutRoot"
              Background="#89A6C0">
            <StackPanel MinWidth="150"
                        MaxWidth="250"
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center">
                <TextBlock HorizontalAlignment="Center"
                           Margin="0,0,0,5"
                           FontSize="20">Acceso a usuarios</TextBlock>
                <StackPanel Orientation="Horizontal"
                            Margin="0,0,0,5">
                    <TextBlock FontSize="15"
                               MinWidth="70"
                               Margin="10,0,20,0">Usuario:</TextBlock>
                    <TextBox Name="txtUsuario"
                             MinWidth="150"
                             MaxWidth="200"
                             HorizontalAlignment="Stretch"
                             KeyDown="txtUsuario_KeyDown">11111111-1</TextBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock FontSize="15"
                               MinWidth="70"
                               Margin="10,0,20,0">Password:</TextBlock>
                    <PasswordBox Name="txtPass"
                                 MinWidth="150"
                                 MaxWidth="200"
                                 HorizontalAlignment="Stretch"
                                 KeyDown="txtPass_KeyDown"
                                 IsKeyboardFocusedChanged="txtPass_IsKeyboardFocusedChanged"
                                 Password="ez8810" />
                </StackPanel>
                <StackPanel Orientation="Horizontal"
                            HorizontalAlignment="Right">
                    <Button Name="btnAceptar"
                            Margin="0,10,5,0"
                            Click="btnAceptar_Click">Aceptar</Button>
                    <Button Name="btnCancelar"
                            Margin="0,10,5,0"
                            Click="btnCancelar_Click">Cancelar</Button>
                </StackPanel>
                <StackPanel>
                    <CheckBox Content="Usar servidor web"
                              Name="chkServer"
                              Checked="chkServer_Checked"></CheckBox>
                </StackPanel>
            </StackPanel>
        </Grid>
    </extToolkit:BusyIndicator>
</UserControl>
